<template>
  <button class="btn" @click="$emit('click')">
    <slot>Button</slot>
  </button>
</template>

<script>
export default {
  name: 'Button',
  emits: ['click']
}
</script>

<style scoped>
.btn {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  background-color: #007bff;
  color: white;
  cursor: pointer;
}
.btn:hover {
  background-color: #0056b3;
}
</style>